Skip to content

KAFKA-14375: Remove use of "authorizer-properties" from EndToEndAuthorizerTest#12843

Merged
omkreddy merged 5 commits intoapache:trunkfrom
pprovenzano:EndToEndAuthorizationTest-update
Nov 17, 2022
Merged

KAFKA-14375: Remove use of "authorizer-properties" from EndToEndAuthorizerTest#12843
omkreddy merged 5 commits intoapache:trunkfrom
pprovenzano:EndToEndAuthorizationTest-update

Conversation

@pprovenzano
Copy link
Contributor

This removes use of a deprecated feature and instead has all ACL calls going through the brokers. This work is preliminary work needed before I can make them run in KRAFT mode.

https://issues.apache.org/jira/browse/KAFKA-14375

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

This removes use of a depricated feature and instead has all ACL
calls going through the brokers. This work is preliminary work
needed before I can make them run in KRAFT mode.
@pprovenzano
Copy link
Contributor Author

Sorry about the extra space, bad camel case and spelling.

…erties"

from EndToEndAuthorizerTest. Delegation tests still talk directly to ZK
and Delegation Tokens have not been added to work under KRAFT so I'm holding
off changing these tests to talk to brokers instead of ZK for initial setup.
@omkreddy
Copy link
Contributor

looks like we also need to update DelegationTokenEndToEndAuthorizationWithOwnerTest

@pprovenzano
Copy link
Contributor Author

The test DelegationTokenEndToEndAuthorizationWithOwnerTest inherits from DelegationTokenEndToEndAuthorizationTest which I've updated. Neither test needs to work in KRAFT mode because delegation doesn't work in KRAFT mode yet.

@pprovenzano
Copy link
Contributor Author

I see some failed tests that seem to be flaky tests. What do we do here?

@omkreddy omkreddy changed the title Remove use of "authorizer-properties" from EndToEndAuthorizerTest KAFKA-14375: Remove use of "authorizer-properties" from EndToEndAuthorizerTest Nov 16, 2022
Remove unneeded ACL defines in EndToEndAuthorizationTest.scala
Define a superuserCn in SslEndToEndAuthorizationTest.scala
@pprovenzano
Copy link
Contributor Author

I have manually tested all the failed tests from the checks and they all pass fine locally.

Copy link
Contributor

@omkreddy omkreddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pprovenzano Thanks for the PR. LGTM

@omkreddy omkreddy merged commit 529a44d into apache:trunk Nov 17, 2022
guozhangwang pushed a commit to guozhangwang/kafka that referenced this pull request Jan 25, 2023
…rizerTest (apache#12843)

- This removes use of a deprecated feature and instead has all ACL
calls going through the brokers. This work is preliminary work
needed before I can make them run in KRAFT mode.

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>,  Igor Soarez <soarez@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments